# eric7.PluginManager.PluginExceptions

Module implementing the exceptions raised by the plugin system.

### Global Attributes

None

### Classes

PluginActivationError | Class defining an error raised, when there was an error during plugin activation.
PluginClassFormatError | Class defining an error raised, when the plugin module's class is invalid.
PluginError | Class defining a special error for the plugin classes.
PluginLoadError | Class defining an error raised, when there was an error during plugin loading.
PluginModuleFormatError | Class defining an error raised, when the plugin module is invalid.
PluginModulesError | Class defining an error raised, when no plugin modules were found.
PluginPathError | Class defining an error raised, when the plugin paths were not found and could not be created.

### Functions

None

## PluginActivationError

Class defining an error raised, when there was an error during plugin activation.

### Derived from

PluginError

### Class Attributes

None

### Class Methods

None

### Methods

PluginActivationError | Constructor

### Static Methods

None

#### PluginActivationError (Constructor)

PluginActivationError(name)

Constructor

name (str)
  name of the plugin module

Up

## PluginClassFormatError

Class defining an error raised, when the plugin module's class is invalid.

### Derived from

PluginError

### Class Attributes

None

### Class Methods

None

### Methods

PluginClassFormatError | Constructor

### Static Methods

None

#### PluginClassFormatError (Constructor)

PluginClassFormatError(name, class_, missing)

Constructor

name (str)
  name of the plugin module
class_ (str)
  name of the class not satisfying the requirements
missing (str)
  description of the missing element

Up

## PluginError

Class defining a special error for the plugin classes.

### Derived from

Exception

### Class Attributes

None

### Class Methods

None

### Methods

PluginError | Constructor
__repr__ | Special method returning a representation of the exception.
__str__ | Special method returning a string representation of the exception.

### Static Methods

None

#### PluginError (Constructor)

PluginError()

Constructor

#### PluginError.__repr__

__repr__()

Special method returning a representation of the exception.

Return:
  string representing the error message

Return Type:
  str

#### PluginError.__str__

__str__()

Special method returning a string representation of the exception.

Return:
  string representing the error message

Return Type:
  str

Up

## PluginLoadError

Class defining an error raised, when there was an error during plugin loading.

### Derived from

PluginError

### Class Attributes

None

### Class Methods

None

### Methods

PluginLoadError | Constructor

### Static Methods

None

#### PluginLoadError (Constructor)

PluginLoadError(name)

Constructor

name (str)
  name of the plugin module

Up

## PluginModuleFormatError

Class defining an error raised, when the plugin module is invalid.

### Derived from

PluginError

### Class Attributes

None

### Class Methods

None

### Methods

PluginModuleFormatError | Constructor

### Static Methods

None

#### PluginModuleFormatError (Constructor)

PluginModuleFormatError(name, missing)

Constructor

name (str)
  name of the plugin module
missing (str)
  description of the missing element

Up

## PluginModulesError

Class defining an error raised, when no plugin modules were found.

### Derived from

PluginError

### Class Attributes

None

### Class Methods

None

### Methods

PluginModulesError | Constructor

### Static Methods

None

#### PluginModulesError (Constructor)

PluginModulesError()

Constructor

Up

## PluginPathError

Class defining an error raised, when the plugin paths were not found and could not be created.

### Derived from

PluginError

### Class Attributes

None

### Class Methods

None

### Methods

PluginPathError | Constructor

### Static Methods

None

#### PluginPathError (Constructor)

PluginPathError(msg=None)

Constructor

msg (str)
  message to be used by the exception

Up